set(src 
    "m5_atom_s3r.c"
    "imu.c"
    "bmi270/bmi270.c"
    "bmi270/bmi2.c"
    "bmi270/common.c"
)

idf_component_register(
    SRCS ${src}
    INCLUDE_DIRS "include" "bmi270/include"
    PRIV_INCLUDE_DIRS "priv_include"
    REQUIRES driver spiffs
    PRIV_REQUIRES fatfs esp_lcd
)

